import httpRequest from '@/http/httpRequest'

export default {
    // 分页查询二维码
    getList(params) {
        return httpRequest.get('/back/qrcode/list', { params })
    },
    // 启用二维码
    enable(id) {
        return httpRequest.post(`/back/qrcode/enable/${id}`)
    },
    // 禁用二维码
    disable(id) {
        return httpRequest.post(`/back/qrcode/disable/${id}`)
    }
} 